{// 加载头部公共文件 }
<include file="Public:header" />
<!-- include file="Public:tree" / -->
<div style="boder:1px solid #ccc;margin:10px 10px 0px 10px;">
    <div style="border:1px solid #ccc;height:40px;padding:0 0 0 20px;line-height:40px;">
           站点数据统计
    </div>
    <div style="border:1px solid #ccc;height:auto;padding:5px 0px 5px 10px;margin-top:5px;"> 
           
                    <table style="margin:10px 10px 10px 10px;width:auto">
                    <form action="{:U('SysWebsiteManage/dataStatic')}" method="GET">
                    	  <tr>
                               <td width="71">站点名称</td>
                               <td width="168"><input type="text" name="sitename"/></td>
                               <td width="130"><input type="submit" name="查询"/></td>
                               <td width="162"></td>
                               <td width="120"></td>
                               <td width="99"> </td>
                           </tr>
                     </form>
                           
                           <tr>
                               <th>编号</th>
                               <th>名称</th>
                               <th>数据库名</th>
                               <th>创建时间</th>
                               <th>创建者</td>
                               <th>操作</th>
                           </tr>
                           <foreach name="list['list']" item="val">
                           <tr>
                               <td>&nbsp;&nbsp;{$val.id}&nbsp;&nbsp;</td>
                               <td>{$val.website_name}</td>
                               <td>{$val.database}</td>
                               <td>{$val.create_time}</td>
                               <td align="center">{$val.create_uname}</td>
                               <td>
                                    	&nbsp;&nbsp;
                                    <a href="{:U('SysWebsiteManage/dataStaticList/id/'.$val['id'])}">查看统计数据</a>
                               </td>
                           </tr>
                           </foreach>
                           <tr>
                                <td colspan="6">{$list.page}</td>
                           </tr>
                    </table>
     </div>

</div>
  </body>
</html>
